//
//  XLMineBaseCellModel.m
//  Mine
//
//  Created by 于鹏 on 2017/8/25.
//  Copyright © 2017年 YIVIEW. All rights reserved.
//

#import "XLMineBaseCellModel.h"
NSString *const XLMineBaseCellModelCellClass = @"XLMineBaseTableViewCell";

@implementation XLMineBaseCellModel

- (instancetype)init {
    self = [super init];
    if (self) {
        self.cellHeight = XL_KCellHeight;
        self.cellClass = XLMineBaseCellModelCellClass;
        self.showArrow = YES;
        self.seperateOffset = XL_KCellMargin;
        //self.seperateColor = XL_KSeparateColor;
        //self.seperateHeight = XL_KSeparateHeight;
        self.titleColor = XL_KTitleColor;
        self.titleFont = XL_KTitleFont;
        self.arrowImage = [UIImage imageNamed:@"ic_hs_tableView_arrow"];
        self.selectionStyle = UITableViewCellSelectionStyleDefault;
        //self.arrowWidth = XL_KArrowWidth;
        //self.arrowHeight = XL_kArrowHeight;
    }
    return self;
}

- (instancetype)initWithTitle:(NSString *)title actionBlock:(ClickActionBlock)block {
    self = [self init];
    if (self) {
        self.title = title;
        self.actionBlock = block;
    }
    return self;
}

//- (instancetype)initWithTitle:(NSString *)title {
//    self = [self init];
//    if (self) {
//        self.title = title;
//        
//    }
//    return self;
//    
//}

//- (instancetype)initWithTitle:(NSString *)title actionBlock:(ClickActionBlock)block {
//    self = [self initWithTitle:title];
//    if (self) {
//        self.actionBlock = block;
//    }
//    return self;
//}

//- (void)clickActionBlock:(ClickActionBlock)block {
//    self.actionBlock = block;
//}


@end
